<template>
  <div class="baoyang_warpper">
    <van-image class="pic" :src="item.thumbnail" />
    <div class="right">
      <div class="name">{{ item.goodsName }}</div>
      <div class="tips">{{ item.sellingPoint }}</div>
      <div class="flex">
        <div class="price flex">￥{{ item.price }}</div>
        <!-- <div class="vip_price">
          <span>￥ 19.99</span>
          <img
            class="vip_icon"
            :src="require('@/assets/icon/wash/vip.png')"
            alt=""
          />
        </div> -->
        <div class="btn">购买</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "baoyangItem",
  components: {},
  props: {
    item: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
  data() {
    return {};
  },
  watch: {},
  computed: {},
  methods: {},
  created() {},
  mounted() {},
};
</script>
<style lang="less" scoped>
.baoyang_warpper {
  width: 100%;
  padding: 70px 50px;
  display: flex;
  background: #fff;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  .pic {
    min-width: 220px;
    max-width: 220px;
    height: 240px;
  }
  .right {
    margin-left: 25px;
    flex-grow: 1;
    .name {
      font-size: 46px;
      color: #333;
      margin-bottom: 20px;
    }
    .tips {
      font-size: 34px;
      color: #3a5899;
      margin-bottom: 20px;
    }
    .flex {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .btn {
      height: 80px;
      line-height: 80px;
      padding: 0 30px;
      color: #fff;
      font-size: 44px;
      background-color: #e73353;
      border-radius: 999px;
    }
    .price {
      font-size: 40px;
      color: #c10500;
      margin-right: 20px;
    }
    .vip_price {
      min-width: 295px;
      padding: 3px 20px;
      background-color: #3f4f7c;
      border: 3px solid #6b6a7b;
      box-sizing: border-box;
      text-align: right;
      color: #fff;
      border-radius: 999px;
      font-size: 28px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      .vip_icon {
        width: 177px;
        object-fit: contain;
        position: absolute;
        left: -3px;
        top: -10px;
      }
    }
  }
}
</style>